home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 051-075 / disk_068 / mg1b / sys / amiga / sleep.c < prev    next >
C/C++ Source or Header  |  1992-05-06  |  390b  |  23 lines

  1. /*
  2.  * Name:    MicroEmacs
  3.  *        AmigaDOS sleep function
  4.  * Version:    31
  5.  * Last Edit:    18-Apr-86
  6.  * Created:    18-Apr-86 ...!ihnp4!seismo!ut-sally!ut-ngp!mic
  7.  */
  8.  
  9. /* There are really 60 ticks/second, but I don't want to wait that     */
  10. /* long when matching parentheses... */
  11. #define    TICKS    45
  12. extern    long Delay();
  13.  
  14. #ifdef    LATTICE
  15. void
  16. #endif
  17. sleep(n)
  18. int n;
  19. {
  20.     if (n > 0)
  21.         Delay((long) n * TICKS);
  22. }
  23.